package com.jlnk.dagger.component;

import com.jlnk.dagger.database.DBHelper;
import com.jlnk.dagger.module.DBModule;
import com.jlnk.dagger.module.SpUtilsModule;
import com.jlnk.dagger.module.StudentModule;
import com.jlnk.dagger.utils.SpUtils;
import com.jlnk.dagger.views.InfoActivity;
import com.jlnk.dagger.views.MainActivity;

import dagger.Component;
import jakarta.inject.Singleton;

@Singleton
@Component(modules = {StudentModule.class, DBModule.class, SpUtilsModule.class})
public interface AllComponent {
    void injectMainActivity(MainActivity mainActivity);
    void injectInfoActivity(InfoActivity infoActivity);
    SpUtils getSpUtils();
}